package com.ltt.service;

import com.ltt.dao.pojo.Harvest;
import com.ltt.dao.vo.HarvestVo;

import java.util.List;

/**
 * @author ‘李天泰’
 * @version 1.0
 * @description: TODO
 * @date 2023/5/2 10:46
 */
public interface HarvestService {
    List<HarvestVo> findAllHarvest(String openid);

    void insertHarvest(Harvest harvest);

    void updateHarvest(Harvest harvest);

    void deleteHarvest(int id);

    Harvest findHarvestById(String openid, int id);

}
